(0) Obligation:

The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, 1).


The TRS R consists of the following rules:

f(c(a, z, x)) → b(a, z)
b(x, b(z, y)) → f(b(f(f(z)), c(x, z, y)))
b(y, z) → z

Rewrite Strategy: INNERMOST

(1) NestedDefinedSymbolProof (BOTH BOUNDS(ID, ID) transformation)

The TRS does not nest defined symbols.
Hence, the left-hand sides of the following rules are not basic-reachable and can be removed:
b(x, b(z, y)) → f(b(f(f(z)), c(x, z, y)))

(2) Obligation:

The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, 1).


The TRS R consists of the following rules:

b(y, z) → z
f(c(a, z, x)) → b(a, z)

Rewrite Strategy: INNERMOST

(3) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)

Converted Cpx (relative) TRS to CDT

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

b(z0, z1) → z1
f(c(a, z0, z1)) → b(a, z0)
Tuples:

B(z0, z1) → c1
F(c(a, z0, z1)) → c2(B(a, z0))
S tuples:

B(z0, z1) → c1
F(c(a, z0, z1)) → c2(B(a, z0))
K tuples:none
Defined Rule Symbols:

b, f

Defined Pair Symbols:

B, F

Compound Symbols:

c1, c2

(5) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID) transformation)

Removed 2 trailing nodes:

F(c(a, z0, z1)) → c2(B(a, z0))
B(z0, z1) → c1

(6) Obligation:

Complexity Dependency Tuples Problem
Rules:

b(z0, z1) → z1
f(c(a, z0, z1)) → b(a, z0)
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:

b, f

Defined Pair Symbols:none

Compound Symbols:none

(7) SIsEmptyProof (BOTH BOUNDS(ID, ID) transformation)

The set S is empty

(8) BOUNDS(1, 1)